package com.xm9m.web.service.api.request;

import com.xm9m.web.service.api.response.LoginResponse;
import com.xm9m.web.service.interfaces.Xm9mRequest;

/**
 * Created by 123 on 2015/12/9.
 */
public  class LoginRequest  extends Xm9mRequest<LoginResponse> {
    private static final long serialVersionUID = 1L;
    private String username;
    private String password;
    private String deviceToken;//设备唯一标识
    private String appKey;//友盟APP key
    private int type = 1; //1.用户名密码登陆 2:deviceId登陆
    private String deviceId; //设备唯一ID

    private Long masterId;//师傅ID
    private String channel;

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getDeviceToken() {
        return deviceToken;
    }

    public void setDeviceToken(String deviceToken) {
        this.deviceToken = deviceToken;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getMasterId() {
        return masterId;
    }

    public void setMasterId(Long masterId) {
        this.masterId = masterId;
    }
}